/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ejb;

import entities.Category;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Alejandro
 */
@Local
public interface CategoryBeanLocal {

    public void insert(Category category);
    public List<Category> findAllChildren();
    public List<Category> findChildrenForParent();
    public Category findByIdCategory(Integer idCategory);
    public List<Category> findByIdParentCategory(Category idCategory);
    public void markAsDelete(Category category);
//    public void begin();
//    public void commit();
}
